import lombok.*;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
//只有实现了Serializable接口的类才能被序列化，转化成流对象
public class Student implements Serializable {
    private String no;
    private String name;
    private int phonenumber;
    private String email;
}
